package fserv.control;

import java.io.File;

/**
 * Communication interface: ChatGUI => ChatController
 * 
 * @author Arthur Bit-Monnot <abit@etud.insa-toulouse.fr>
 * @author Julien Marchand <jmarchan@etud.insa-toulouse.fr>
 */
public interface UserToCtrl {

    /**
     * Notifies the Controller that the user wants to send a message.
     * 
     * @param message the message
     */
    public void sendCommand(String message);

    /**
     * Notifies the Controller that the user wants to send a file.
     * 
     * @param file the file
     */
    public void sendFile(File file);

    /**
     * Notifies the controller that the user want to quit the application.
     */
    public void quit();
    
}
